/* 去除常见标签默认的 margin 和 padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* 设置网页统一的字体大小、行高、字体系列相关属性 */
body {
  font: 14px/1 'PingFangSC-Regul', 'Helvetica Neue', Helvetica, Arial, 'Microsoft Yahei', 'Hiragino Sans GB', 'Heiti SC', 'WenQuanYi Micro Hei', sans-serif;
  color: #333;
}
/* 去除列表默认样式 */
ul,
ol {
  list-style: none;
}
/* 去除默认的倾斜效果 */
em,
i {
  font-style: normal;
}
/* 去除a标签默认下划线，并设置默认文字颜色 */
a {
  text-decoration: none;
  color: #333;
}
/* 设置img的垂直对齐方式为居中对齐，去除img默认下间隙 */
img {
  width: 100%;
  vertical-align: middle;
}
/* 去除input默认样式 */
input {
  border: none;
  outline: none;
  color: #333;
}
.ellipsis-2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
body {
  background-color: #fafafa;
}
.top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  padding: 1.866667vw 0.8vw;
  width: 100%;
  height: 11.733333vw;
  background-color: #fff;
}
.top .back {
  display: block;
  width: 7.2vw;
  height: 7.2vw;
  text-align: center;
  font-size: 5.333333vw;
}
.top .title {
  margin-right: 4vw;
  flex: 1;
  font-size: 4.266667vw;
  font-weight: 700;
  text-align: center;
}
.diy-banner {
  position: relative;
  margin-top: 11.733333vw;
  width: 100%;
  height: 100vw;
}
.diy-banner .swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 1;
}
.diy-banner .swiper-pagination-bullet-active {
  background-color: black;
}
.diy-banner .picnum {
  position: absolute;
  right: 4.8vw;
  bottom: 9.6vw;
  z-index: 900;
  padding: 0.533333vw;
  width: 10.4vw;
  height: 5.066667vw;
  font-size: 3.466667vw;
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.363);
  border-radius: 6.666667vw;
}
.goodsname {
  margin-top: 3.2vw;
  padding: 3.2vw 4vw;
  width: 100%;
  height: 25.333333vw;
  background-color: #fff;
}
.goodsname .price {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.666667vw;
  width: 92vw;
  height: 5.6vw;
}
.goodsname .price .left {
  width: 34.666667vw;
  height: 5.6vw;
  font-size: 3.466667vw;
  color: #fa2209;
}
.goodsname .price .left .yuan {
  margin-right: 1.866667vw;
  font-size: 5.6vw;
}
.goodsname .price .left .discount {
  text-decoration: line-through;
  color: #959595;
}
.goodsname .price .right {
  padding-top: 1.333333vw;
  width: 22.666667vw;
  height: 3.2vw;
}
.goodsname .price .right .tex {
  font-size: 3.2vw;
  color: #959595;
}
.goodsname .tradename {
  display: flex;
  align-items: center;
  width: 92vw;
  height: 10.666667vw;
  font-size: 4vw;
}
.return {
  display: flex;
  align-items: center;
  padding: 3.2vw 4vw;
  width: 100%;
  height: 13.066667vw;
}
.return .left {
  margin-left: -1.866667vw;
  width: 90.4vw;
  height: 6.666667vw;
}
.return .left .seven {
  margin: 1.066667vw 1.866667vw;
  float: left;
  width: 29.333333vw;
  height: 4.533333vw;
  font-size: 3.466667vw;
}
.return .left .seven .iconfont {
  font-size: 3.466667vw;
  color: #fa2209;
}
.return .right .iconfont {
  font-size: 3.466667vw;
  color: #999;
}
.comments {
  padding: 2.666667vw 4vw;
  width: 100%;
  background-color: #fff;
}
.comments .title {
  display: flex;
  margin-bottom: 3.2vw;
  width: 92vw;
  height: 5.066667vw;
  font-size: 3.733333vw;
}
.comments .title .left {
  width: 74.4vw;
  height: 5.066667vw;
}
.comments .title .left span {
  margin: 0 0.533333vw;
}
.comments .title .right {
  width: 17.6vw;
  height: 5.066667vw;
}
.comments .title .right .more {
  font-size: 3.2vw;
  color: #999;
}
.comments .title .right .iconfont {
  font-size: 2.933333vw;
  color: #999;
}
.comments .talk {
  width: 92vw;
}
.comments .talk .comment-item {
  margin-bottom: 1.333333vw;
  padding: 1.866667vw 0.533333vw;
  width: 92vw;
  height: 24.266667vw;
  border-bottom: 0.133333vw solid #f5f5f5;
}
.comments .talk .comment-item .head {
  display: flex;
  align-items: center;
  margin-bottom: 1.333333vw;
  width: 90.933333vw;
  height: 6.666667vw;
}
.comments .talk .comment-item .head .username {
  height: 6.666667vw;
}
.comments .talk .comment-item .head .username img {
  width: 6.666667vw;
  height: 6.666667vw;
  border-radius: 50%;
}
.comments .talk .comment-item .head .username span {
  font-size: 2.666667vw;
}
.comments .talk .comment-item .head .star-rating {
  display: inline-flex;
  align-items: center;
  width: 26.666667vw;
  height: 5.066667vw;
}
.comments .talk .comment-item .head .star-rating .star-item {
  width: 5.333333vw;
  height: 5.066667vw;
  color: orange;
}
.comments .talk .text {
  margin: 2.133333vw 0;
  width: 90.933333vw;
  height: 5.066667vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.comments .talk .date {
  margin-top: 1.333333vw;
  width: 90.933333vw;
  height: 4.266667vw;
  font-size: 3.2vw;
  color: #999;
}
.information_details {
  margin-top: 3.3333vw;
  background-color: #fff;
  padding-bottom: 48.5px;
}
.information_details h3 {
  padding: 3.4667vw 4vw;
  font-size: 3.7333vw;
  color: #303133;
  font-weight: 400;
}
.information_details .information_pic img {
  width: 99vw !important;
}
.information_footer {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
  width: 100%;
  height: 12.9333vw;
  background-color: #fff;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.information_footer .footer_index {
  padding: 1.3333vw;
  color: #303133;
  line-height: 1;
  display: flex;
}
.information_footer .footer_index a {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.information_footer .footer_index a .iconfont {
  font-size: 5.8667vw;
}
.information_footer .footer_index a p {
  margin-top: 0.6667vw;
  font-size: 2.9333vw;
}
.information_footer .footer_cart {
  position: relative;
  padding: 1.3333vw;
  color: #303133;
  line-height: 1;
  display: flex;
}
.information_footer .footer_cart a {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.information_footer .footer_cart a .iconfont {
  font-size: 5.8667vw;
}
.information_footer .footer_cart a p {
  margin-top: 0.6667vw;
  font-size: 2.9333vw;
}
.information_footer .footer_cart a .count {
  position: absolute;
  right: 1.3333vw;
  top: 0.4vw;
  width: 4.2667vw;
  height: 4.2667vw;
  background-color: #ee0a24;
  border-radius: 50%;
  text-align: center;
  line-height: 4.2667vw;
  color: #fff;
  font-size: 1.6vw;
}
.information_footer .footer_add {
  width: 32.8vw;
  height: 9.6vw;
  background-image: linear-gradient(90deg, #ffa600, #fb0);
  border-radius: 4.8vw;
  display: flex;
}
.information_footer .footer_add a {
  width: 100%;
  line-height: 9.6vw;
  text-align: center;
  color: #fff;
  font-size: 3.7333vw;
}
.information_footer .footer_buy {
  width: 32.8vw;
  height: 9.6vw;
  background-image: linear-gradient(90deg, #f9211c, #ff6335);
  border-radius: 4.8vw;
  display: flex;
}
.information_footer .footer_buy a {
  width: 100%;
  line-height: 9.6vw;
  text-align: center;
  color: #fff;
  font-size: 3.7333vw;
}
.layer {
  position: fixed;
  left: 0;
  bottom: -64vw;
  z-index: 1000;
  width: 100%;
  height: 64vw;
  background-color: #fff;
  border-radius: 2.6667vw 2.6667vw 0 0;
  overflow: hidden;
  transition: 0.5s;
}
.layer .wrapper {
  height: 48vw;
  padding: 4vw 3.2vw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.layer .wrapper .goodstop {
  width: 100%;
  height: 24vw;
  display: flex;
  justify-content: space-between;
}
.layer .wrapper .goodstop .topLeft img {
  width: 24vw;
  height: 24vw;
}
.layer .wrapper .goodstop .top-right {
  width: 69.3333vw;
  height: 24vw;
  padding: 0 4.5333vw 1.3333vw 3.7333vw;
  box-sizing: border-box;
  padding-top: 6.6667vw;
}
.layer .wrapper .goodstop .top-right .add-price {
  margin-bottom: 2.666667vw;
  color: #fe560a;
  font-size: 3.7333vw;
}
.layer .wrapper .goodstop .top-right .add-price i {
  font-size: 6.4vw;
}
.layer .wrapper .goodstop .top-right .add-inventory {
  color: #525252;
  font-size: 3.2vw;
}
.layer .wrapper .add-bottom {
  width: 100%;
  height: 9.3333vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.layer .wrapper .add-bottom .bottom-txt {
  color: #303133;
  font-size: 3.7333vw;
}
.layer .wrapper .add-bottom .bottom-count {
  width: 32vw;
  display: flex;
  justify-content: space-between;
  text-align: center;
  line-height: 6.6667vw;
}
.layer .wrapper .add-bottom .bottom-count .reduce {
  width: 8vw;
  height: 6.6667vw;
  background-color: #f2f3f5;
  border: none;
}
.layer .wrapper .add-bottom .bottom-count .num {
  width: 10.6667vw;
  height: 6.6667vw;
  background-color: #f2f3f5;
}
.layer .wrapper .add-bottom .bottom-count .add {
  width: 8vw;
  height: 6.6667vw;
  background-color: #f2f3f5;
  border: none;
}
.layer .wrapper .add-bottom .bottom-count .active {
  background-color: #f7f8fa;
}
.layer .shopp-bottom {
  display: flex;
  align-items: center;
  padding: 0 3.4667vw;
  height: 16vw;
  justify-content: center;
}
.layer .shopp-bottom a {
  width: 88.5333vw;
  height: 10.6667vw;
  border-radius: 5.3333vw;
  overflow: hidden;
  background-color: #ff9402;
  text-align: center;
  line-height: 10.6667vw;
  font-size: 3.7333vw;
  color: #fff;
}
.layer .no-bottom {
  display: flex;
  align-items: center;
  padding: 0 3.4667vw;
  height: 16vw;
  justify-content: center;
}
.layer .no-bottom a {
  width: 88.5333vw;
  height: 10.6667vw;
  border-radius: 5.3333vw;
  overflow: hidden;
  background-color: #ccc;
  text-align: center;
  line-height: 10.6667vw;
  font-size: 3.7333vw;
  color: #fff;
}
.layer .icon-bangzhu1 {
  position: absolute;
  top: 4vw;
  right: 3.2vw;
  font-size: 5.3333vw;
  color: #303133;
}
.tips {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40vw;
  height: 10.6667vw;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  text-align: center;
  line-height: 10.6667vw;
  font-size: 3.4667vw;
  border-radius: 2.6667vw;
  color: #fff;
  display: none;
  transition: 1s;
}
.information_mask {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
  opacity: 0;
}
.mask {
  opacity: 1;
  z-index: 980;
}
